package com.two.service.permission.feign;

import com.two.common.util.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "two-orderSystem-service-user")
public interface UserFeign {
    //根据token查询用户
    @PostMapping("/user/user/selectById")
    public CommonResult selectById(@RequestParam String token);
}
